<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
	function agregarDigi(k){
			 var tecla = 0;
			 if(typeof (k.charCode) == 'undefined' ){
				 tecla = k.keyCode;
			 }else{
				 tecla = k.charCode;
			 }
			 if(tecla==0)
				 return true;

			  var loqhay=document.getElementById('contrato').value;
				if(loqhay.length<=4 ){
						 if (tecla ==67 || tecla ==99 ){
						    document.getElementById('contrato').value="C-0000";
					     } 
						 if (tecla ==86 || tecla ==118 ){
								document.getElementById('contrato').value="VC-0000";
					     } 
						 if (tecla ==80 || tecla ==112 ){
							    document.getElementById('contrato').value="P-0000";
						 } 
					   return false;     
			     }else if (( tecla < 48 || tecla > 57 ) ){
			    	   return false;
			    }else{
			    	return true; 
			    }	  
		} 	
</script>
</head>
<body>
<div id='resultado_gd_checklist01' >
     <img id="progreso_ints_ck1" src="images/ajax-loader3.gif" alt="Cargando..." style="display: none" />
	 <s:set name="n_codigo"><s:property value="cod_prospecto" /></s:set>
	 <s:url id="car_chklst_1" value="cargar_lst_check_list.action" >
	     <s:param name='check.prospecto' value='%{n_codigo}' ></s:param>
	 </s:url>
	 <sj:div id='cargar_items_cklst' href="%{car_chklst_1}" indicator="progreso_ints_ck1" >
		 
	 </sj:div>
</div>
</body>
</html>